package com.tmt.im.service.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/9/18 9:57
 * @Version 1.0
 **/
@Getter
@Setter
public class NoDisturbingRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = -2134905846637811850L;

    @Schema(requiredMode = REQUIRED, description = "群组ID")
    @NotNull(message = "群组ID不允许为null")
    private Long tid;

    @Schema(requiredMode = REQUIRED, description = "是否开启群消息免打扰")
    @NotNull(message = "是否开启群消息免打扰参数不允许为null")
    private Boolean noDisturbing;

}
